class PlatInforEntity {
	int code;
	PlatInforData data;
	String message;

	PlatInforEntity({this.code, this.data, this.message});

	PlatInforEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new PlatInforData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class PlatInforData {
	PlatInforDataPlatinfo platInfo;
	List<PlatInforDataParm> parms;

	PlatInforData({this.platInfo, this.parms});

	PlatInforData.fromJson(Map<String, dynamic> json) {
		platInfo = json['platInfo'] != null ? new PlatInforDataPlatinfo.fromJson(json['platInfo']) : null;
		if (json['parms'] != null) {
			parms = new List<PlatInforDataParm>();(json['parms'] as List).forEach((v) { parms.add(new PlatInforDataParm.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.platInfo != null) {
      data['platInfo'] = this.platInfo.toJson();
    }
		if (this.parms != null) {
      data['parms'] =  this.parms.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class PlatInforDataPlatinfo {
	String name;
	String id;
	String picture;

	PlatInforDataPlatinfo({this.name, this.id, this.picture});

	PlatInforDataPlatinfo.fromJson(Map<String, dynamic> json) {
		name = json['name'];
		id = json['id'];
		picture = json['picture'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['name'] = this.name;
		data['id'] = this.id;
		data['picture'] = this.picture;
		return data;
	}
}

class PlatInforDataParm {
	String lableName;
	String lableId;
	String lid;
	List<PlatInforDataParmsValuelist> valueList;
	String type;
	String value;
	String status;
	String valueId;

	PlatInforDataParm({this.lableName, this.lableId, this.lid, this.valueList, this.type, this.value, this.status,this.valueId});

	PlatInforDataParm.fromJson(Map<String, dynamic> json) {
		lableName = json['lable_name'];
		lableId = json['lable_id'];
		lid = json['lid'];
		if (json['valueList'] != null) {
			valueList = new List<PlatInforDataParmsValuelist>();(json['valueList'] as List).forEach((v) { valueList.add(new PlatInforDataParmsValuelist.fromJson(v)); });
		}
		type = json['type'];
		value = json['value'];
		valueId = json['valueId'];
		status = json['status'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['lable_name'] = this.lableName;
		data['lable_id'] = this.lableId;
		data['lid'] = this.lid;
		if (this.valueList != null) {
      data['valueList'] =  this.valueList.map((v) => v.toJson()).toList();
    }
		data['type'] = this.type;
		data['value'] = this.value;
		data['status'] = this.status;
		return data;
	}
}

class PlatInforDataParmsValuelist {
	List<PlatInforDataParmsValuelistchild> children;
	String id;
	String text;
	String value;

	PlatInforDataParmsValuelist({this.children, this.id, this.text, this.value});

	PlatInforDataParmsValuelist.fromJson(Map<String, dynamic> json) {
		if (json['children'] != null) {
			children = new List<PlatInforDataParmsValuelistchild>();(json['children'] as List).forEach((v) { children.add(new PlatInforDataParmsValuelistchild.fromJson(v)); });
		}
		id = json['id'];
		text = json['text'];
		value = json['value'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.children != null) {
      data['children'] =  this.children.map((v) => v.toJson()).toList();
    }
		data['id'] = this.id;
		data['text'] = this.text;
		data['value'] = this.value;
		return data;
	}
}

class PlatInforDataParmsValuelistchild {
	String id;
	String text;
	String value;

	PlatInforDataParmsValuelistchild({this.id, this.text, this.value});

	PlatInforDataParmsValuelistchild.fromJson(Map<String, dynamic> json) {
		id = json['id'];
		text = json['text'];
		value = json['value'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['id'] = this.id;
		data['text'] = this.text;
		data['value'] = this.value;
		return data;
	}
}
